package com.wechet.common;

import lombok.Getter;

/**
 * Created by sc on 2017/9/20.
 */

//商品状态
@Getter
public enum ProductStatus implements CodeEnum {
    UP(0,"上架"),
    DOWN(1,"下架"),
    STOCK_NOT_ENOUGH(2, "库存不足"),
    NOT_EXIST(3, "商品不存在");

    private String msg;
    private Integer code;
    ProductStatus(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

}
